/*
 *@(#)Comment.java 1.0 Feb 18, 2008
 *Copyright Fution Bai
 *
 */
package codebush.domain;

import java.io.Serializable;
import java.util.Date;

/**
 * 
 * @author Fution Bai
 * @since 1.0
 */
public class Comment implements Serializable {

	private static final long serialVersionUID = 4462506662824606195L;
	private long id;
	private String content;
	private int user_id;
	private Date post_time;
	private int reward;
	private long parent_id;
	private long subject_id;
	private String user_name;//for convenience, in users table
	private byte[] picture;//for convenience, in users table

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public int getReward() {
		return reward;
	}

	public void setReward(int reward) {
		this.reward = reward;
	}

	public int getUser_id() {
		return user_id;
	}

	public void setUser_id(int user_id) {
		this.user_id = user_id;
	}

	public Date getPost_time() {
		return post_time;
	}

	public void setPost_time(Date post_time) {
		this.post_time = post_time;
	}

	public long getParent_id() {
		return parent_id;
	}

	public void setParent_id(long parent_id) {
		this.parent_id = parent_id;
	}

	public long getSubject_id() {
		return subject_id;
	}

	public void setSubject_id(long subject_id) {
		this.subject_id = subject_id;
	}

	public String getUser_name() {
		return user_name;
	}

	public void setUser_name(String user_name) {
		this.user_name = user_name;
	}

	public byte[] getPicture() {
		return picture;
	}

	public void setPicture(byte[] picture) {
		this.picture = picture;
	}
	

}
